Developer --> Technical Publications
PATHJava Developer Documentation > Mac OS Runtime for Java > JManager > Programming With JManager


Applet Locator Status Values

When the JMNewAppletLocator function JMNewAppletLocator has retrieved an HTML document, it passes a status value to the MyFetchCompleted callback function. These status values are specified by the JMLocatorErrors type.

enum JMLocatorErrors {
    eLocatorNoErr = 0,
    eHostNotFound,  
    eFileNotFound,
    eLocatorTimeout,
    eLocatorKilled
    };

Constant descriptions

eLocatorNoErr
The HTML text was retrieved successfully.
eHostNotFound
The host specified by the URL was not found.
eFileNotFound
The HTML file was not found on the host.
eLocatorTimeout
A timeout occurred while waiting for the HTML text.
eLocatorKilled
The JMDisposeAppletLocator function was called before the text could be retrieved.

See the description of the application-defined function MyFetchCompleted for more information about using these values.


© 1998 Apple Computer, Inc. — (Last Updated 3 Dec 98)

Previous | Back Up One Level | Next |